package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;


@Table(name="t_score_list")
public class ScoreList extends BaseEntity{

	private Integer id;
	/**
	 * 用户id
	 **/
	private Integer userId;
	/**
	 * 积分
	 **/
	private Integer score;
	/**
	 * 创建时间
	 **/
	private Date created;
	/**
	 * 积分来源信息
	 **/
	private String source;
	/**
	 * 兑换商品id
	 **/
	private Integer convertGoodsId;
	/**
	 * 兑换地址
	 **/
	private String convertAddress;
	/**
	 * 积分状态 +  -
	 **/
	private String scoreState;
	/**
	 * 计算结果
	 */
	private Integer result;
	/**
	 * 积分商品兑换数量
	 */
	private Integer count;

	/**
	 * 是否发货
	 */
	private Integer isSendGoods;

	/**
	 *地址
	 */
	private String address;

	/**
	 * 地址用户真实姓名
	 */
	private String addressUserName;

	/**
	 * 地址用户电话
	 */
	private String addressUserPhone;

	@Id
	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id=id;
	}
	/**
	 * 用户id
	 **/
	public Integer getUserId(){
		return userId;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	/**
	 * 积分规则
	 **/
	public Integer getScore(){
		return score;
	}
	public void setScore(Integer score){
		this.score=score;
	}
	/**
	 * 创建时间
	 **/
	public Date getCreated(){
		return created;
	}
	public void setCreated(Date created){
		this.created=created;
	}
	/**
	 * 积分来源信息
	 **/
	public String getSource(){
		return source;
	}
	public void setSource(String source){
		this.source=source;
	}
	/**
	 * 兑换商品id
	 **/
	public Integer getConvertGoodsId(){
		return convertGoodsId;
	}
	public void setConvertGoodsId(Integer convertGoodsId){
		this.convertGoodsId=convertGoodsId;
	}
	/**
	 * 兑换地址
	 **/
	public String getConvertAddress(){
		return convertAddress;
	}
	public void setConvertAddress(String convertAddress){
		this.convertAddress=convertAddress;
	}
	/**
	 * 积分状态 +  -
	 **/
	public String getScoreState(){
		return scoreState;
	}
	public void setScoreState(String scoreState){
		this.scoreState=scoreState;
	}

	public Integer getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getIsSendGoods() {
		return isSendGoods;
	}

	public void setIsSendGoods(Integer isSendGoods) {
		this.isSendGoods = isSendGoods;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddressUserName() {
		return addressUserName;
	}

	public void setAddressUserName(String addressUserName) {
		this.addressUserName = addressUserName;
	}

	public String getAddressUserPhone() {
		return addressUserPhone;
	}

	public void setAddressUserPhone(String addressUserPhone) {
		this.addressUserPhone = addressUserPhone;
	}
}